Wrap-up and Quiz
Let's go over the main topics we covered in this chapter and test our knowledge.
We'll cover the following
Summary#
Tekton Triggers enables the invocation of a Pipeline in response to an event. We created an automated CI/CD workflow that builds and deploys a new image each time we push new commits to GitHub. In doing so, we created an EventListener webhook that GitHub sends HTTP requests to each time there’s a new commit. When an event is received, the Trigger extracts the necessary data from the event payload and runs the Pipeline with the necessary parameters.
Using GitHub webhooks to trigger a Pipeline execution is one of the use cases for Tekton Triggers. We can also integrate our code with Snyk, a security platform that detects security issues in our dependencies and containers. When an issue is detected, we can trigger the rebuild of the image to fix the vulnerability and, afterward, redeploy the service with the new image.
Quiz on automating Tekton#
Choose the correct answer.
We’ve used GitHub webhooks to send an HTTP POST payload to the webhook’s configured URL. Which one of the following would be the value of this configured URL?
EventListener URL has the form http://el-cicd.<KNATIVE_DOMAIN>
This is the correct answer and all other options are incorrect.
Tekton Dashboard URL
Educative’s platform URL has the form https://xxy.educative.run
None of the above
Listen for Events from GitHub
Docker and Cloud Native Buildpacks